package com.yaowk.api.system.service;

import com.yaowk.api.common.IBaseService;
import com.yaowk.api.system.model.Resource;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface IResourceService extends IBaseService<Resource, Integer> {

    Map<String, Set<String>> findResourcePermissions();

    void permissionEdit(Integer resourceId, List<Integer> permissionIds);
}
